package com.obixlabs.smorgasbord.domainmodel.conv;

import org.joda.time.DateTime;

import com.obixlabs.smorgasbord.domainmodel.security.User;

public class BubbleImpl implements Bubble
{
	private BubbleId identifier;
	private User owner;
	private DateTime entryTime;
	
	BubbleImpl() { /*Private bean constructor*/}

	public BubbleImpl(	BubbleId id, 
						DateTime entryTime, 
						User owner)
	{ 
		this();
		setIdentifier(id);
		setEntryTime(entryTime);
		setOwner(owner);
	}
	
	@Override
	public BubbleId getIdentifier() { return this.identifier; }
	private void setIdentifier(BubbleId identifier) 
	{ this.identifier = identifier; }
	
	
	@Override
	public User getOwner() { return this.owner; }
	private void setOwner(User owner) { this.owner = owner; }
	
	@Override
	public DateTime getEntryTime() { return this.entryTime; }
	private void setEntryTime(DateTime entryTime) { this.entryTime = entryTime; }
	
}//end class def